﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using BGCMS.Models;



namespace BGCMS.Tests.Controllers
{
    public class MockDataContext : IBGRepository
    {
        List<Child> child = new List<Child>();

        public IEnumerable<Child> GetChildren()
        {
            return child;
        }

        public void SaveChanges()
        {
        }

        public int Count
        {
            get
            {
                return child.Count;
            }
        }

        public void AddChild(Child c)
        {
            child.Add(c);
        }

        #region Unused
        public void AddAppointment(AppointmentLog a)
        {
            throw new NotImplementedException();
        }

        public void AddHealthLogItem(HealthLog h)
        {
            throw new NotImplementedException();
        }

        public void AddVaccintaionLogItem(VaccinationLog v)
        {
            throw new NotImplementedException();
        }
        
        public void DeleteAppointment(AppointmentLog a)
        {
            throw new NotImplementedException();
        }
        
        public void DeleteHealthLogItem(HealthLog h)
        {
            throw new NotImplementedException();
        }
        
        public void DeleteVaccinationLogItem(VaccinationLog v)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<AppointmentLog> GetAppointmentLogs()
        {
            throw new NotImplementedException();
        }

        public IEnumerable<HealthLog> GetHealthLogs()
        {
            throw new NotImplementedException();
        }
        
        public IEnumerable<VaccinationLog> GetVaccinationLogs()
        {
            throw new NotImplementedException();
        }
        #endregion
    }
}
